<?php
namespace Mob \ Model;

use Think \ Model;
use Think \ Hook;
/**学生操作记录模型
 * Class InfoModel
 */

require_once ('./Application/Mob/Common/function.php');

class StudentOperLogModel extends Model {

   protected $tableName = 'student_operlog';

    public function creatorRecord($uid,$studentId,$classId,$schooId,$operateType,$operateUid,$desc)
    {
      $data['uid']=$uid;
      $data['studentId']=$studentId;
      $data['classId']=$classId;
      $data['schooId']=$schooId;
      $data['operateType']=$operateType;
      $data['operateTime']=time();
      $data['operateUid']=$operateUid;
      $data['desc']=$desc;
      $this->add($data);

    }







}